home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / pc_board / pcrlg111.zip / EXAMPLE.TXT next >
Text File  |  1992-03-09  |  5KB  |  90 lines

  1.         This program was created to provide a "fair share" basis for
  2.  sharing long distance charges for the hub between all the local nodes.
  3.  Provisions have been provided for "excluding" nodes that connect 
  4.  long distance because it isn't fair to charge long distance nodes on
  5.  the same basis as locals nodes.
  6.  
  7.         This is an example file returned. I directed the info into a text
  8.  file for reference and distribution to participating nodes as 
  9.  representation of their "fair share" for L/D phone expenses to the hub.
  10.  The dollar values and dates are fictitious but the data was drawn from my
  11.  daily hub log created by PCRelay named HUB.LOG.
  12.  
  13.  An example of my command line used is as follows;
  14.  
  15.                   pcrlog hub.log /cpcrlog1.cfg > actvty1.txt
  16.  
  17.  [ By naming the config file, I could return several variations using ]
  18.  [ different configuration and log files if different networks were   ]
  19.  [ involved, otherwise it would not normally be needed, defaulting to ]
  20.  [ PCRLOG.CFG.                                                        ]
  21.  
  22.  The config file, PCRLOG1.CFG;  
  23.                    
  24.                   BeginDate=11/08/91
  25.                   EndDate=01/15/92
  26.                   *       Include=    (line not recognized)
  27.                   *       Exclude=    (line not recognized)
  28.                   Dollars=100         (representing $100.00)
  29.  
  30. Resulting in the following text file, ACTVTY1.TXT;
  31.  
  32.  
  33. PCRLOG 
  34. Copyright (c) 1992, Mike Bennett
  35.  
  36. ═══════════════════════════════════════════════════════════════════════════
  37. Config: PCRLOG2.CFG            HUB Activity           15:05 on 01/26/92
  38. ───────────────────────────────────────────────────────────────────────────
  39.           Start Date: 11/08/91                End Date: 01/15/92
  40. ═══════════════════════════════════════════════════════════════════════════
  41. Node      Times on              Total Nodes           Time HH:MM 
  42. Dollars   Bytes Received        Bytes Sent            Total Bytes
  43.           % of Total            % of Total            % of Total
  44. ═══════════════════════════════════════════════════════════════════════════
  45.    HUB    181                   3                     22:26
  46.   TOTAL   579785                102984028             103563813        
  47. ═══════════════════════════════════════════════════════════════════════════
  48.  
  49. THETREE   111                                         07:21
  50. $53.38    444805                54841884              55286689              
  51.           0.4295%               52.9547%              53.3842% 
  52.  
  53. TCRSOUTH  42                                          08:29
  54. $28.15    100706                29051609              29152315              
  55.           0.0972%               28.0519%              28.1491% 
  56.  
  57. OCALACOM  28                                          06:36
  58. $18.47    34274                 19090535              19124809              
  59.           0.0331%               18.4336%              18.4667% 
  60.  
  61.  
  62.          The values are based on all bytes uploaded to the hub as 
  63.  well as bytes downloaded. If a node should send or receive files
  64.  they would share the cost based on TOTAL bytes handled through the
  65.  hub while connected. Bytes handled provide the most accurate way
  66.  of dividing the long distance time incurred. If all nodes were equal
  67.  then the division would be equal as well, whether they relayed the 
  68.  same conferences or not. Those that received or sent files would in
  69.  turn reflect a higher byte value and thus a larger share of transfer 
  70.  charges.
  71.  
  72.         As you can see, information returned can give additional
  73.  insight to problems occurring with total time online. I've found
  74.  modem configuration problems with nodes by comparing data. 
  75.  
  76.         We beat the devil out of the program, using mangled variations
  77.  of the log files and all worked well on our systems. Like most, we can
  78.  only guarantee that it worked well on our systems. I see no reason for
  79.  difficulty operating elsewhere but you know how that goes.
  80.  
  81.         This program has taken quite a bit to write despite it's simple
  82.  appearance and due to it's nature, continued use would imply your own
  83.  sense of fairness. So with that I say no more and thank you for
  84.  registering it and supporting the efforts towards "fair share" shareware.
  85.  
  86.  
  87.                                                       Frank Fowler
  88.                                                       The TREE BBS
  89.                                                       HUBTREE
  90.